/**
 * Copyright (C), 2019-2020, 宇信融汇
 * FileName: InnerClassDemo
 * Author:   666
 * Date:     2020/6/29 21:17
 * Description: 测试类
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package c_007.innerclass;

/**
 * @Classname InnerClassDemo
 * @Description TODO
 * @Date 2020/6/29 21:17
 * @Created by 666
 */
public class InnerClassDemo {
    public static void main(String[] args) {
        InnerDemo idemo = new InnerDemo();
        idemo.waiClassDemo();

        System.out.println(idemo.getId());
        System.out.println(idemo.getName());

        //创建内部类对象
        InnerDemo.InnerClass innerClass = new InnerDemo().new InnerClass();
        innerClass.innerClassDemo();
        innerClass.inner_f1();
        System.out.println(innerClass.getGender());
    }
}
